package com.recallgo.manage.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ClassName PageController
 * @Description TODO
 * @Author c
 * @Date 2018/9/10 10:22
 * @Vcrsion 1.0
 **/
@Controller
@RequestMapping("/rest/page/")
public class PageController {
    @RequestMapping(value = "/{pageName}", method = RequestMethod.GET)
    public String pageTo(@PathVariable("pageName") String pageName){
        return pageName;
    }
}
